<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:f="http://java.sun.com/jsf/core"      
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:p="http://primefaces.org/ui"
      xmlns:ui="http://java.sun.com/jsf/facelets">
	
    <body>	
    	<ui:composition template="/user/template.xhtml">
    	
    		<ui:repeat var="article" value="#{articleBean.articleListMain}" varStatus="status">
             	<div class="novinka prvni">
<!-- 	                 <div class="nadpis"> <div class="datum">#{article.date}</div><div class="autor"></div></div> -->
	                 <h2>
					 <a href="clanekdetail.xhtml?id=#{article.id}" style="color: #036b00;">#{article.name}</a>
	                 </h2>
	                 <div class="text">#{article.shortContent}</div>
             	</div>
             	<br />			  
			 </ui:repeat>
             
<!--               <div class="strankovani">             -->
<!--                  <div class="predchozi"><a href="">.</a></div> -->
<!--                  <div id="stred_stran"> -->
<!--                      <ul> -->
<!--                         <li><a href="1">1</a></li> -->
<!--                         <li><a href="2">2</a></li> -->
<!--                         <li><a href="3">3</a></li> -->
<!--                         <li><a href="4">4</a></li> -->
<!--                         <li><a href="5">5</a></li> -->
<!--                         <li><a href="5">6</a></li> -->
<!--                         <li><a class="tecky" href="5"><b>...</b></a></li> -->
<!--                         <li><a class="dvou" href="5">43</a></li> -->
<!--                     </ul>  -->
<!--                      <div class="dalsi"><a href="">.</a></div> -->
<!--                  </div> -->
<!--                </div>  -->
    	</ui:composition>
	</body>
</html>